package com.easygem.controller.business;

import com.easygem.business.service.BgClientFollowService;
import com.easygem.common.model.business.BgClientFollow;
import com.easygem.common.response.ResponseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author luoxi
 * @version 1.0
 * @className CustomerFollowController
 * @Description TODO
 * @date 2025/3/7 10:00
 */
@Api(tags = "客户跟进")
@RestController
@RequestMapping("/BgClient/BgClientFollow")
public class BgClientFollowController {
    @Autowired
    private BgClientFollowService bgClientFollowService;
    //当前提醒时间的信息
    @ApiOperation(value = "提醒的信息", notes = "当前提醒时间的信息")
    @GetMapping("/findBgClientFollow")
    @ResponseBody
    public ResponseBean<List<BgClientFollow>> findAll() {
        List<BgClientFollow> customerFollowList = bgClientFollowService.selectBgClientFollowList();
        return ResponseBean.success(customerFollowList);
    }
}
